<?php include './application/views/common/zhs_header.php';
$filename = ER_WEI_MA.$user['user_id'].".png";
if(!is_file($filename)){
	include "./crontab/phpqrcode/phpqrcode.php";
	$logo =  ER_WEI_MA."runshi.jpg";
	QRcode::createpng($url,$filename, $logo, 'H', 6);
}
?>
<?php include './application/views/common/zhs_usercenter_acnt.php';?>
<div class="inv_box w">
<?php include './application/views/common/zhs_usercenter_left.php';?>
 
  <div class="membd_right">
    <div class="memshcont_ul" style="margin-top:0;">
    <div id="ckepop" class='feixiangjias' style="margin-left:14px;"> 
		<a href="javascript:" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank">分享到：</a> 
		<a class="jiathis_button_qzone">QQ空间</a> 
		<a class="jiathis_button_tsina">新浪微博</a> 
		<a class="jiathis_button_kaixin001">开心网</a> 
		<a class="jiathis_button_renren">人人网</a> 
		<a class="jiathis_button_baidu">百度收藏</a> 
		<a class="jiathis_button_tqq">腾讯微博</a> 
		<a class="jiathis_button_tsohu">搜狐微博</a> 
		<a class="jiathis_button_t163">网易微博</a> 
		<a class="jiathis_button_xiaoyou">朋友网</a> 
		<!--<a class="jiathis_button_tieba">百度贴吧</a> 
	 --></div> 
	 <script type="text/javascript">
	 var _config = {
			 data:"http://www.okydt.com/?invite=<?php echo $user['user_id'];?>",
			 title: "",
			 summary :"一点投，你们最好的选择！",
			 pics : ""
		};
 	 </script> 
 	<script type="text/javascript" src="/static/zhsjr/js/share.js" charset="utf-8"></script> 
        <ul class="paccbd_ul">
          <li><span>邀请链接：</span>
          <input id="txt_links" class="meminpt1" style="width:286px;" readonly="readonly" value="<?php echo $url;?>" type="text" />
         <input class="but" type="button" value="复制" onclick="copy()" id="copy_button"/></li>
          <li><span>邀请码：</span><span style="color:#666;"><?php echo $user['user_id'];?></span></li>
          <li><span class="lf">邀请二维码：</span><div class="pacimg"><img src="/<?php echo $filename;?>"></div><div class="protext">扫一扫分享</div></li>
      	
        </ul>
      
     
    </div>
 	
  </div>
</div> 

<script>
var Url2=document.getElementById("biao1"); 

function f(){
  window.clipboardData.setData("text",a.value)
}
</script>
<script type="text/javascript">
  var newTitle = '一点投提醒您：';
  function copyToClipboard(obj) {
    if (obj) {
      var clipBoardContent = obj.value;
      $(obj).select();
      try {
          window.clipboardData.setData("Text", clipBoardContent);
         	alert('您好，链接复制成功!');
      }
      catch (e) {
      	alert('您好，链接复制失败，请手动复制!');
      }
    }
  }
function b(f) {
	if(f){
		alert('您好，链接复制失败，请手动复制!');
	}else{
		alert('您好，链接复制成功!');
	}
}
$(function() {
    $("#txt_links").click(function() { $(this).select(); });
});

</script>
<?php include './application/views/common/zhs_footer.php';?>

<?php include './application/views/common/zhs_right.php';?>
